\section{i2c-dev.h-Dateireferenz}
\label{i2c-dev_8h}\index{i2c-dev.h@{i2c-dev.h}}
\subsection*{Datenstrukturen}
\begin{CompactItemize}
\item 
struct {\bf i2c\_\-msg}
\item 
struct {\bf i2c\_\-smbus\_\-ioctl\_\-data}
\item 
struct {\bf i2c\_\-rdwr\_\-ioctl\_\-data}
\end{CompactItemize}
\subsection*{Makrodefinitionen}
\begin{CompactItemize}
\item 
\#define {\bf I2C\_\-M\_\-TEN}~0x10
\item 
\#define {\bf I2C\_\-M\_\-RD}~0x01
\item 
\#define {\bf I2C\_\-M\_\-NOSTART}~0x4000
\item 
\#define {\bf I2C\_\-M\_\-REV\_\-DIR\_\-ADDR}~0x2000
\item 
\#define {\bf I2C\_\-M\_\-IGNORE\_\-NAK}~0x1000
\item 
\#define {\bf I2C\_\-M\_\-NO\_\-RD\_\-ACK}~0x0800
\item 
\#define {\bf I2C\_\-RDRW\_\-IOCTL\_\-MAX\_\-MSGS}~42
\item 
\#define {\bf I2C\_\-RETRIES}~0x0701
\item 
\#define {\bf I2C\_\-TIMEOUT}~0x0702
\item 
\#define {\bf I2C\_\-SLAVE}~0x0703
\item 
\#define {\bf I2C\_\-SLAVE\_\-FORCE}~0x0706
\item 
\#define {\bf I2C\_\-TENBIT}~0x0704
\item 
\#define {\bf I2C\_\-FUNCS}~0x0705
\item 
\#define {\bf I2C\_\-RDWR}~0x0707
\item 
\#define {\bf I2C\_\-PEC}~0x0708
\item 
\#define {\bf I2C\_\-ACK\_\-TEST}~0x0710
\item 
\#define {\bf I2C\_\-SMBUS}~0x0720
\item 
\#define {\bf I2C\_\-UDELAY}~0x0705
\item 
\#define {\bf I2C\_\-MDELAY}~0x0706
\item 
\#define {\bf I2C\_\-MAJOR}~89
\end{CompactItemize}


\subsection{Makro-Dokumentation}
\index{i2c-dev.h@{i2c-dev.h}!I2C_ACK_TEST@{I2C\_\-ACK\_\-TEST}}
\index{I2C_ACK_TEST@{I2C\_\-ACK\_\-TEST}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-ACK\_\-TEST~0x0710}\label{i2c-dev_8h_0839b8a41f6fd5560c6a970e1e04f624}




Definiert in Zeile 119 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_FUNCS@{I2C\_\-FUNCS}}
\index{I2C_FUNCS@{I2C\_\-FUNCS}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-FUNCS~0x0705}\label{i2c-dev_8h_4c2f02700f22d4f76c670966aed5079a}




Definiert in Zeile 115 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_M_IGNORE_NAK@{I2C\_\-M\_\-IGNORE\_\-NAK}}
\index{I2C_M_IGNORE_NAK@{I2C\_\-M\_\-IGNORE\_\-NAK}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-M\_\-IGNORE\_\-NAK~0x1000}\label{i2c-dev_8h_0629c50bb05b4c037e726373da50755b}




Definiert in Zeile 68 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_M_NO_RD_ACK@{I2C\_\-M\_\-NO\_\-RD\_\-ACK}}
\index{I2C_M_NO_RD_ACK@{I2C\_\-M\_\-NO\_\-RD\_\-ACK}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-M\_\-NO\_\-RD\_\-ACK~0x0800}\label{i2c-dev_8h_db8351c5c02ca2b6909baa9d374ff6d4}




Definiert in Zeile 69 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_M_NOSTART@{I2C\_\-M\_\-NOSTART}}
\index{I2C_M_NOSTART@{I2C\_\-M\_\-NOSTART}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-M\_\-NOSTART~0x4000}\label{i2c-dev_8h_7a467d37a113d97496f0fa69c6c15650}




Definiert in Zeile 66 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_M_RD@{I2C\_\-M\_\-RD}}
\index{I2C_M_RD@{I2C\_\-M\_\-RD}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-M\_\-RD~0x01}\label{i2c-dev_8h_db8eddbb89e88c4fc0e44306fc878b85}




Definiert in Zeile 65 der Datei i2c-dev.h.

Wird benutzt von i2c\_\-dump\_\-register() und i2c\_\-read\_\-register().\index{i2c-dev.h@{i2c-dev.h}!I2C_M_REV_DIR_ADDR@{I2C\_\-M\_\-REV\_\-DIR\_\-ADDR}}
\index{I2C_M_REV_DIR_ADDR@{I2C\_\-M\_\-REV\_\-DIR\_\-ADDR}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-M\_\-REV\_\-DIR\_\-ADDR~0x2000}\label{i2c-dev_8h_6392dd65e4022a3ed20fc2d7dca3392f}




Definiert in Zeile 67 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_M_TEN@{I2C\_\-M\_\-TEN}}
\index{I2C_M_TEN@{I2C\_\-M\_\-TEN}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-M\_\-TEN~0x10}\label{i2c-dev_8h_be53ff15e0717ccbd1d4c656c09ee53a}




Definiert in Zeile 64 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_MAJOR@{I2C\_\-MAJOR}}
\index{I2C_MAJOR@{I2C\_\-MAJOR}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-MAJOR~89}\label{i2c-dev_8h_948a746545caeae5f7c84e9fa8b25e2c}




Definiert in Zeile 131 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_MDELAY@{I2C\_\-MDELAY}}
\index{I2C_MDELAY@{I2C\_\-MDELAY}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-MDELAY~0x0706}\label{i2c-dev_8h_3e36065af9761870927b6d4ab1796783}




Definiert in Zeile 127 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_PEC@{I2C\_\-PEC}}
\index{I2C_PEC@{I2C\_\-PEC}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-PEC~0x0708}\label{i2c-dev_8h_2a72d7072db21c407f82e6e73854b38f}




Definiert in Zeile 117 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_RDRW_IOCTL_MAX_MSGS@{I2C\_\-RDRW\_\-IOCTL\_\-MAX\_\-MSGS}}
\index{I2C_RDRW_IOCTL_MAX_MSGS@{I2C\_\-RDRW\_\-IOCTL\_\-MAX\_\-MSGS}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-RDRW\_\-IOCTL\_\-MAX\_\-MSGS~42}\label{i2c-dev_8h_272399a0175400a2ebb55ff518a85012}




Definiert in Zeile 92 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_RDWR@{I2C\_\-RDWR}}
\index{I2C_RDWR@{I2C\_\-RDWR}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-RDWR~0x0707}\label{i2c-dev_8h_7645f9831bcbbae2339fcff4d85691be}




Definiert in Zeile 116 der Datei i2c-dev.h.

Wird benutzt von i2c\_\-dump\_\-register(), i2c\_\-read\_\-register(), i2c\_\-scan\_\-bus() und i2c\_\-write\_\-register().\index{i2c-dev.h@{i2c-dev.h}!I2C_RETRIES@{I2C\_\-RETRIES}}
\index{I2C_RETRIES@{I2C\_\-RETRIES}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-RETRIES~0x0701}\label{i2c-dev_8h_e8b7ab32459314e0c0162974f2ce22e1}




Definiert in Zeile 100 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_SLAVE@{I2C\_\-SLAVE}}
\index{I2C_SLAVE@{I2C\_\-SLAVE}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-SLAVE~0x0703}\label{i2c-dev_8h_b15137f7c592d05573de99f078516157}




Definiert in Zeile 107 der Datei i2c-dev.h.

Wird benutzt von i2c\_\-dump\_\-register(), i2c\_\-read\_\-register(), i2c\_\-scan\_\-bus() und i2c\_\-write\_\-register().\index{i2c-dev.h@{i2c-dev.h}!I2C_SLAVE_FORCE@{I2C\_\-SLAVE\_\-FORCE}}
\index{I2C_SLAVE_FORCE@{I2C\_\-SLAVE\_\-FORCE}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-SLAVE\_\-FORCE~0x0706}\label{i2c-dev_8h_fb1764d4b58fb542306c715ad6a28a42}




Definiert in Zeile 109 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_SMBUS@{I2C\_\-SMBUS}}
\index{I2C_SMBUS@{I2C\_\-SMBUS}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-SMBUS~0x0720}\label{i2c-dev_8h_4e9d483fb9eb1074646726ce518b1d4d}




Definiert in Zeile 122 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_TENBIT@{I2C\_\-TENBIT}}
\index{I2C_TENBIT@{I2C\_\-TENBIT}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-TENBIT~0x0704}\label{i2c-dev_8h_2a0b1f3843e98977be7476579c851305}




Definiert in Zeile 113 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_TIMEOUT@{I2C\_\-TIMEOUT}}
\index{I2C_TIMEOUT@{I2C\_\-TIMEOUT}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-TIMEOUT~0x0702}\label{i2c-dev_8h_fa3215f0aa766367f5d34bee80929152}




Definiert in Zeile 103 der Datei i2c-dev.h.\index{i2c-dev.h@{i2c-dev.h}!I2C_UDELAY@{I2C\_\-UDELAY}}
\index{I2C_UDELAY@{I2C\_\-UDELAY}!i2c-dev.h@{i2c-dev.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define I2C\_\-UDELAY~0x0705}\label{i2c-dev_8h_db1350ea4db57087ea86ba9722a80ede}




Definiert in Zeile 125 der Datei i2c-dev.h.